'''common const values that need to be checked'''

g_weapons = set(['CandleStick',
                 'Wrench',
                 'Rope',
                 'Revolver', 
                 'Knife',
                 'Lead Pipe'])

# note: relative positions indicate a scanning order from left-to-right, top-to-bottom
g_rooms = {'Study'         : (1,1),
           'Hall'          : (1,3),
           'Lounge'        : (1,5),
           'Library'       : (3,1),
           'Billiard Room' : (3,3),
           'Dining Room'   : (3,5),
           'Conservatory'  : (5,1),
           'Ball Room'     : (5,3),
           'Kitchen'       : (5,5)}

# note: relative positions indicate turn-order
g_characters = { 'Miss Scarlet' : 0,
                 'Col. Mustard' : 1,
                 'Mrs. White'   : 2,
                 'Mr. Green'    : 3,
                 'Mrs. Peacock' : 4,
                 'Prof. Plum'   : 5 }

def character_pred(p1, p2):
    return cmp(g_characters[p1], g_characters[p2])


if __name__ == '__main__':
    pass
